<!-- 防伪报告 -->
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>防伪报告</title>
  <meta name="keywords" content="">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">  
  <link href="../css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
  <link rel="stylesheet" type="text/css" href="../js/plugins/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css">
  <link href="../js/plugins/jquery-confirm/jquery-confirm.css" rel="stylesheet">
  <link href="../css/style.css?v=4.1.0" rel="stylesheet">
  <link rel="stylesheet" href="../css/labMgt/self.css">
  <link rel="stylesheet" href="../css/labMgt/modal.css">
  <!-- 第三方插件 -->
  <link rel="stylesheet" href="../js/plugins/pace/pace-theme-barber-shop.css">

  <!-- 全局js -->
  <script src="../js/jquery.min.js?v=2.1.4"></script>
  <script src="../js/bootstrap.min.js?v=3.3.6"></script>
  <script src="../js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
  <script src="../js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
  <script src="../js/plugins/moment/min/moment-with-locales.min.js"></script>
  <script src="../js/plugins/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>  
  <script src="../js/plugins/jquery-confirm/jquery-confirm.js"></script>
  <script src="../js/plugins/pace/pace.min.js"></script>
  <script src="../js/plugins/layer/laydate/laydate.js"></script>
  <script src="../js/main.js"></script>
  <script src="../js/securityReport.js"></script>
</head>
<body class="gray-bg">
  <div class="wrapper wrapper-content animated fadeInRight worker-info">
    <div class="ibox query-info">
      <form class="base-info">
        <div class="pa-form-control">
          <label class="form-control-label">报告名称：</label>
          <input class="form-control form-control-input">
        </div>
        <div class="pa-form-control">
          <label class="form-control-label">报告日期:</label>
          <input id="startTime" name="startTime"
            type="text" date-type="start"
            class="form-control form-control-input datetimepicker"
            data-date-format="YYYY-MM-DD">
          至
          <input id="startTime" name="startTime"
             type="text" date-type="start"
             class="form-control form-control-input datetimepicker"
             data-date-format="YYYY-MM-DD">
        </div>
        <div class="row query-info-btn">
          <div class="col-sm-12 text-center">
            <button class="btn btn-sm btn-info" type="submit">查 询</button>
            <button class="btn btn-sm btn-white" type="reset">重 置</button>
          </div>
        </div>
      </form>
    </div>
    <div class="row row-btn-item">
      <div class="col-sm-12">
        <button class="btn btn-sm btn-info" onclick="showAdd()">新增报告</button>
        <button class="btn btn-sm btn-info" onclick="deleteReport()">删除</button>
        <button class="btn btn-sm btn-info">导出台帐</button>
      </div>
    </div>
    <div class="row">
      <div class="col-sm-12">
        <div id="accordion1" class="ibox float-e-margins">
          <div id="table1" class="ibox-content collapse in" aria-expanded="true">            
            <table id="worker-table" class="footable table table-stripped text-center">
              <thead>
                  <tr>
                    <th data-field="id" data-formatter="getCheckBox"><input type="checkbox"
                      onchange="selectAll(this)"/></th>
                    <th data-field="field1">报告编号</th>
                    <th data-field="field2">报告名称</th>
                    <th data-field="field3">委托单位</th>
                    <th data-field="field4">检测单位</th>
                    <th data-field="field5">报告日期</th>
                    <th data-field="field6" data-width="19%" data-formatter="clickOperate">操作</th>
                  </tr>
              </thead>
              <tbody>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
  </div>

  <!-- form 表单弹框 新增addForm start-->
  <div class="modal fade" id="addForm_div" tabindex="-1" role="dialog" aria-labelledby="addNewReport">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
          </button>
          <h5 class="modal-title" id="addNewReport">新增报告</h5>
        </div>
        <div class="modal-body">
          <form id="userForm">
            <input id="userType" name="userType" type="hidden" value = "2">
            <table class="form-table">
              <tbody>
                <tr>
                  <td class="title">报告名称：</td>
                  <td><input name="fullName" type="text" class="form-control form-control-input required"><b>*</b></td>
                </tr>
                <tr>
                  <td class="title">委托单位：</td>
                  <td><input name="userName" type="text" class="form-control form-control-input required"><b>*</b></td>
                </tr>
                <tr>
                  <td class="title">检测单位：</td>
                  <td><input name="" type="text" class="form-control form-control-input easyui-validatebox"><b>*</b></td>
                </tr>
                <tr>
                  <td class="title">报告日期：</td>
                  <td class="table-td-input-time">
                    <input id="startTime" name="startTime"
                      type="text" date-type="start"
                      class="form-control form-control-input datetimepicker"
                      data-date-format="YYYY-MM-DD"><b>*</b>
                  </td>
                </tr>
              </tbody>
            </table>
          </form>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
          <button type="button" class="btn btn-info">确定</button>
        </div>
      </div>
    </div>
  </div>
  <!-- form 表单弹框 新增addForm  end -->

  <!-- form 表单弹框 二维码 start-->
  <div class="modal fade" id="get-code" tabindex="-1" role="dialog" aria-labelledby="addNewUser">
    <div class="modal-dialog modal-dialog-code" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
          </button>
          <h5 class="modal-title" id="addNewUser">生成二维码</h5>
        </div>
        <div class="modal-body modal-body-code">
          <div class="img-box">
            <img src="../img/code.png" alt="">
          </div>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
          <button type="button" class="btn btn-info">复制</button>
        </div>
      </div>
    </div>
  </div>
  <!-- form 表单弹框 二维码  end -->
</body>
</html>